package com.sui.bigdata.sml.web.exception;

import com.sui.bigdata.sml.web.repository.model.Base;

/**
 * @author songhaicheng
 * @date 2019/11/5 17:38
 * @description
 * @reviewer
 */
public class EntityNotFoundException extends RuntimeException {

    public EntityNotFoundException(Class<? extends Base> entityClass, Number id) {
        super(entityClass.getSimpleName() + " 不存在，id：" + id);
    }

}
